WP_Defender\Upgrader C

Total Complexity 101
Dependencies 8
Dependents 0
Total lines 486
Lines of code 313
Logical lines of code 191
Comment lines 124
Methods 13
Properties 0

Methods 13

Method Rating Maintainability Complexity Lines of code
migrate_security_headers()
D
32 43 84
upgrade_2_4_10()
A
41 14 57
upgrade_2_5_0()
A
48 11 32
migrate_configs()
A
47 9 34
run()
A
51 9 29
maybe_show_new_features()
S
65 3 9
add_index_to_defender_audit_log()
S
60 2 14
add_index_to_defender_lockout()
S
61 2 13
add_index_to_defender_email_log()
S
64 2 9
add_index_to_defender_scan_item()
S
64 2 9
add_index_to_defender_lockout_log()
S
64 2 9
migrate_scan_integrity_check()
S
72 1 5
index_database()
S
67 1 9